{"version":3,"file":"reactions.bundle.map.js","names":["this","BX","Vue3","exports","ui_fonts_opensans","ui_vue3","main_core","main_core_events","ui_reactionsSelect","ui_lottie","ReactionTypeNone","ReactionOrder","Object","keys","reactionType","ReactionIconClass","reactionCssClass","none","Reactions","BitrixVue","mutableComponent","props","name","default","values","currentUserId","canOpenList","data","localValues","userReaction","buttonAnimate","emits","mounted","userReactionAnimation","selectorPopup","selectorPopupHideTimeout","selectorPopupShowTimeout","Type","isStringFilled","$Bitrix","eventEmitter","subscribe","onPress","beforeUnmount","hide","destroy","clearTimeout","unsubscribe","watch","handler","deep","methods","list","$emit","set","reaction","includes","filter","element","push","setTimeout","action","type","animateReactionButton","hideEmotionSelector","unset","press","like","showEmotionSelector","event","_this$name","popupName","Date","now","ReactionsSelect","position","target","selectEvent","_this$selectorPopup","getData","_this$selectorPopup2","show","timeout","_this$selectorPopup3","_this$selectorPopup4","Lottie","loadAnimation","animationData","getLottieAnimation","container","$refs","loop","autoplay","renderer","rendererSettings","viewBoxOnly","addEventListener","play","computed","types","isArray","length","map","count","counter","reduce","result","value","isTypesShowed","isMobile","UA","navigator","userAgent","toLowerCase","template","Components","Event","Ui","UI"],"sources":["reactions.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,KAAOF,KAAKC,GAAGC,MAAQ,CAAC,GAC/B,SAAUC,EAAQC,EAAkBC,EAAQC,EAAUC,EAAiBC,EAAmBC,GAC1F;;;;;;;;IAUA,MAAMC,EAAmB,OACzB,MAAMC,EAAgBC,OAAOC,KAAKL,EAAmBM,cACrD,MAAMC,EAAoB,IACrBP,EAAmBQ,iBACtBC,KAAM,8BAER,MAAMC,EAAYb,EAAQc,UAAUC,iBAAiB,eAAgB,CACnEC,MAAO,CACLC,KAAM,CACJC,QAAS,IAEXC,OAAQ,CACND,QAAS,CAAC,GAEZE,cAAe,CACbF,QAAS,GAEXG,YAAa,CACXH,QAAS,OAGbI,KAAM,K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